ExamPlay Light Logo
Oturum aç

Computer Science for IGCSE & O level - Programming (Section 15 - No. 20)

If the age is 16, what is the output of the following code: ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
The program will crash.
No output will be generated.

Açıklama

Since age (16) is not greater or equal to 17, the ELSE condition is executed.

Yorumlar (0)

Yorum yapmak için giriş yapın
Reklamcılık
BrainBehindX Inc Logo
©2026; Tarafından desteklenmektedir BrainBehindX Inc